package com.glela.common.beans;

import java.util.List;

/**
 * 省市联动基类
 * 
 * @author liujie
 *
 */
public class AreaCommonBean {
	//城市ID 编码
	private String code;
	//名称
	private	String name;
	//父级ID
	private String fatherCode;
	
	private int hasChildren;
	
	private List<AreaCommonBean> childrenList;
	
	//地区级别
	private String level;
	
	//包含投放区域的所有父级code（为redis 加载减少遍历）
    private String fullCode;
	
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getFatherCode() {
		return fatherCode;
	}
	public void setFatherCode(String fatherCode) {
		this.fatherCode = fatherCode;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	 
	public List<AreaCommonBean> getChildrenList() {
		return childrenList;
	}
	public void setChildrenList(List<AreaCommonBean> childrenList) {
		this.childrenList = childrenList;
	}
	public String getLevel() {
		return level;
	}
	public void setLevel(String level) {
		this.level = level;
	}
	public int getHasChildren() {
		return hasChildren;
	}
	public void setHasChildren(int hasChildren) {
		this.hasChildren = hasChildren;
	}
	public String getFullCode() {
		return fullCode;
	}
	public void setFullCode(String fullCode) {
		this.fullCode = fullCode;
	}
	
}
